<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Models\Admin\Content;

class Adv extends Model
{
    protected $table = "adv";
    public $fillable = ['name'];
 
    public function content()
    {
        return $this->hasMany('App\Models\Admin\Advcontent', 'advid', 'id');
    }
}
